﻿using SvnAPI.Base.Enumerator;
using System;

namespace SvnAPI.Command.Interface
{
    /// <summary>
    /// Define a default way to get the result of an execution of a command.     
    /// </summary>
    public interface IResult : IDisposable
    {
        #region Properties

        /// <summary>
        /// Result type of execution.
        /// </summary>
        ResultType ResultType { get; set; }

        /// <summary>
        /// Error from the execution.
        /// </summary>
        String Error { get; set; }

        /// <summary>
        /// Output from the execution.
        /// </summary>
        String Output { get; set; }

        #endregion
    }
}
